package com.databaseManager;

/**
 * @author addzero
 * @version 1.0
 * 预约单实体类
 */
public class Order {
    private long PRid;
    private String Pid;
    private String PTime;

    /**
     * Order类构造函数
     * @param PRid 预约单id
     * @param pid 病人身份证号，长度为18位的字符串
     * @param PTime 预约时间，格式为yyyy-mm-dd hh:mm:ss
     */
    public Order(long PRid, String pid, String PTime) {
        this.PRid = PRid;
        Pid = pid;
        this.PTime = PTime;
    }

    public long getPRid() {
        return PRid;
    }

    public void setPRid(long PRid) {
        this.PRid = PRid;
    }

    public String getPid() {
        return Pid;
    }

    public void setPid(String pid) {
        Pid = pid;
    }

    public String getPTime() {
        return PTime;
    }

    public void setPTime(String PTime) {
        this.PTime = PTime;
    }
}
